package com.dmgis.hndz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 历史火点
 */
@Data
@TableName("fire_history")
@EqualsAndHashCode
public class FireHistory {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String firename;

    private Double longitude;

    private Double latitude;

    private String address;

    private Date announcedtime;

    private Float disasterarea;

    private Integer popthreat;

    private Float propertythreat;

    private String remarks;

    private String otherremarks;

    private String stationname;

    private Short state;

    private String videopath;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFirename() {
        return firename;
    }

    public void setFirename(String firename) {
        this.firename = firename == null ? null : firename.trim();
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getAnnouncedtime() {
        return announcedtime;
    }

    public void setAnnouncedtime(Date announcedtime) {
        this.announcedtime = announcedtime;
    }

    public Float getDisasterarea() {
        return disasterarea;
    }

    public void setDisasterarea(Float disasterarea) {
        this.disasterarea = disasterarea;
    }

    public Integer getPopthreat() {
        return popthreat;
    }

    public void setPopthreat(Integer popthreat) {
        this.popthreat = popthreat;
    }

    public Float getPropertythreat() {
        return propertythreat;
    }

    public void setPropertythreat(Float propertythreat) {
        this.propertythreat = propertythreat;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getOtherremarks() {
        return otherremarks;
    }

    public void setOtherremarks(String otherremarks) {
        this.otherremarks = otherremarks == null ? null : otherremarks.trim();
    }

    public String getStationname() {
        return stationname;
    }

    public void setStationname(String stationname) {
        this.stationname = stationname == null ? null : stationname.trim();
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getVideopath() {
        return videopath;
    }

    public void setVideopath(String videopath) {
        this.videopath = videopath == null ? null : videopath.trim();
    }
}